
<!-- table scenes search -->

<a class="btn btn-success" href="?view_mode=edit_scenes&data_source=<#DATA_SOURCE#>"><i class="icon-white icon-plus-sign"></i> <#LANG_ADD_NEW_SCENE#></a>
<a class="btn" href="/popup/scenes.html" target=_blank><#LANG_PREVIEW#></a>

<!-- results -->
[#if RESULT#]
<!-- search results (list) -->

<form action="?" method="post" name="frmList_scenes">
[#begin RESULT#]
<div class="well relative">
<span class="scene-title">[#TITLE#]</span>
<div class="btn-group pull-right">
        <a class="btn" href="/popup/scenes/[#ID#].html" target=_blank><#LANG_PREVIEW#></a>
        <a class="btn" href="?data_source=<#DATA_SOURCE#>&view_mode=edit_scenes&id=[#ID#]"><i class="icon-pencil"></i> <#LANG_EDIT#></a>
        [#if "<#ACTION#>"=="admin"#]
        <a class="btn" href="?data_source=<#DATA_SOURCE#>&view_mode=delete_scenes&id=[#ID#]" onClick="return confirm('<#LANG_ARE_YOU_SURE#>')"><i class="icon-trash"></i> <#LANG_DELETE#></a>
        [#endif ACTION#]
</div>

[#if BACKGROUND!=""#]
<a href="?data_source=<#DATA_SOURCE#>&view_mode=edit_scenes&id=[#ID#]"><img class="scene-thumbail" src="[#BACKGROUND#]"></a>
[#endif#]
</div>
[#end RESULT#]
<input type="hidden" name="data_source" value="<#DATA_SOURCE#>">
<input type="hidden" name="view_mode" value="multiple_scenes">
</form>

<!-- / search results (list) -->
[#else RESULT#]
<div class="alert alert-error">
<#LANG_NO_RECORDS_FOUND#>
</div>
[#endif RESULT#]
<!-- / results -->

<hr size="1">
[#module name="settings" action="admin" filter_name="SCENES"#]